package com.icim.csot.exporter.xmlentity;

import java.sql.Timestamp;
import java.util.List;

import org.springframework.stereotype.Component;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@Component
@XStreamAlias("BODY")
public class CsotShippingPalletXmlEntity {
    private String FACTORYNAME;
    private String SHIPPINGPALLETNAME;
    private String PALLET_ID;
    private String OWNER_ID;
    private String PRODUCTSPECNAME;
    private Integer X_PRODUCT_LAYOUT;
    private Integer Y_PRODUCT_LAYOUT;
    private Integer BOXQUANTITY;
    private Integer PALLETCAPACITY;
    private String WORKORDERTYPE;
    private String LOTTYPE;
    private String GRADE;
    private String TIMESTAMP;
    private String COMMENT;
    private List<CsotShippingBoxXmlEntity> BOXLIST;

    public void addBOX(CsotShippingBoxXmlEntity box) {
        this.BOXLIST.add(box);
    }

    public String getFACTORYNAME() {
        return FACTORYNAME;
    }

    public void setFACTORYNAME(String fACTORYNAME) {
        FACTORYNAME = fACTORYNAME;
    }

    public String getSHIPPINGPALLETNAME() {
        return SHIPPINGPALLETNAME;
    }

    public void setSHIPPINGPALLETNAME(String sHIPPINGPALLETNAME) {
        SHIPPINGPALLETNAME = sHIPPINGPALLETNAME;
    }

    public String getPALLET_ID() {
        return PALLET_ID;
    }

    public void setPALLET_ID(String pALLET_ID) {
        PALLET_ID = pALLET_ID;
    }

    public String getOWNER_ID() {
        return OWNER_ID;
    }

    public void setOWNER_ID(String oWNER_ID) {
        OWNER_ID = oWNER_ID;
    }

    public String getPRODUCTSPECNAME() {
        return PRODUCTSPECNAME;
    }

    public void setPRODUCTSPECNAME(String pRODUCTSPECNAME) {
        PRODUCTSPECNAME = pRODUCTSPECNAME;
    }

    public Integer getX_PRODUCT_LAYOUT() {
        return X_PRODUCT_LAYOUT;
    }

    public void setX_PRODUCT_LAYOUT(Integer X_PRODUCT_LAYOUT) {
        this.X_PRODUCT_LAYOUT = X_PRODUCT_LAYOUT;
    }

    public Integer getY_PRODUCT_LAYOUT() {
        return Y_PRODUCT_LAYOUT;
    }

    public void setY_PRODUCT_LAYOUT(Integer Y_PRODUCT_LAYOUT) {
        this.Y_PRODUCT_LAYOUT = Y_PRODUCT_LAYOUT;
    }

    public Integer getBOXQUANTITY() {
        return BOXQUANTITY;
    }

    public void setBOXQUANTITY(Integer bOXQUANTITY) {
        BOXQUANTITY = bOXQUANTITY;
    }

    public Integer getPALLETCAPACITY() {
        return PALLETCAPACITY;
    }

    public void setPALLETCAPACITY(Integer pALLETCAPACITY) {
        PALLETCAPACITY = pALLETCAPACITY;
    }

    public String getWORKORDERTYPE() {
        return WORKORDERTYPE;
    }

    public void setWORKORDERTYPE(String wORKORDERTYPE) {
        WORKORDERTYPE = wORKORDERTYPE;
    }

    public String getLOTTYPE() {
        return LOTTYPE;
    }

    public void setLOTTYPE(String lOTTYPE) {
        LOTTYPE = lOTTYPE;
    }

    public String getGRADE() {
        return GRADE;
    }

    public void setGRADE(String gRADE) {
        GRADE = gRADE;
    }

    public String getTIMESTAMP() {
        return TIMESTAMP;
    }

    public void setTIMESTAMP(String tIMESTAMP) {
        TIMESTAMP = tIMESTAMP;
    }

    public String getCOMMENT() {
        return COMMENT;
    }

    public void setCOMMENT(String cOMMENT) {
        COMMENT = cOMMENT;
    }

    public List<CsotShippingBoxXmlEntity> getBOXLIST() {
        return BOXLIST;
    }

    public void setBOXLIST(List<CsotShippingBoxXmlEntity> bOXLIST) {
        BOXLIST = bOXLIST;
    }

    public void init() {
        this.FACTORYNAME = "";
        this.SHIPPINGPALLETNAME = "";
        this.PALLET_ID = "";
        this.OWNER_ID = "";
        this.PRODUCTSPECNAME = "";
        this.X_PRODUCT_LAYOUT = 0;
        this.Y_PRODUCT_LAYOUT = 0;
        this.BOXQUANTITY = 0;
        this.PALLETCAPACITY = 0;
        this.WORKORDERTYPE = "";
        this.LOTTYPE = "";
        this.GRADE = "";
        this.TIMESTAMP = "";
        this.COMMENT = "";
    }

}
